//判断浏览器ie8
var DEFAULT_VERSION = 8.0;
var ua = navigator.userAgent.toLowerCase();
var isIE = ua.indexOf("msie") > -1;
var safariVersion;
if (isIE) {
	safariVersion = ua.match(/msie ([\d.]+)/)[1];
}
if (safariVersion <= DEFAULT_VERSION) {
	$("html").css({ overflow: "auto", minWidth: 1170 })
};


/*阻止冒泡*/
function oStop(event) {
	if (event.stopPropagation) {
		event.stopPropagation();
	}
	else if (window.event) {
		window.event.cancelBubble = true;
	}
}
/*百度统计*/
var _hmt = _hmt || [];
(function() {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?6b2ba22c5bdc99a238f224441fbebed1";
    var s = document.getElementsByTagName("script")[0]; 
    s.parentNode.insertBefore(hm, s);
})();
/*google统计*/
  // <!-- Global site tag (gtag.js) - Google Analytics -->
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-121816685-1');
